package io.renren.sf.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.sf.dao.CopyingSteleCalligraphySinglepageDao;
import io.renren.sf.entity.CopyingSteleCalligraphySinglepageEntity;
import io.renren.sf.service.CopyingSteleCalligraphySinglepageService;


@Service("copyingSteleCalligraphySinglepageService")
public class CopyingSteleCalligraphySinglepageServiceImpl extends ServiceImpl<CopyingSteleCalligraphySinglepageDao, CopyingSteleCalligraphySinglepageEntity> implements CopyingSteleCalligraphySinglepageService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CopyingSteleCalligraphySinglepageEntity> page = this.page(
                new Query<CopyingSteleCalligraphySinglepageEntity>().getPage(params),
                new QueryWrapper<CopyingSteleCalligraphySinglepageEntity>()
        );

        return new PageUtils(page);
    }

}